package com.suse.lhw.hms.foodserver.pojo.input_POJO;

import com.suse.lhw.hms.foodserver.domin.FUnit;
import lombok.Data;

import java.util.List;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.foodserver.pojo.input_POJO
 * @ClassName: modelAndUnits
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/4/27 9:27
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/4/27 9:27
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
public class modelAndUnits {

    private int modelId;
    /**
     * 状态，如可用1，不可用0
     */
    private Integer satus;

    private String name;

    private Integer fmCategory;

    /**
     * 食物图片地址
     */
    private String imgurl;

    /**
     * 食物信息id
     */
    private Integer fmsgId;

    /**
     * 描述
     */
    private String description;

    /**
     * 备用
     */
    private String userId;


    List<FUnit> list;

    public modelAndUnits(int modelId, int satus, String name, int fmCategory, String imgurl, int fmsgId, String description, String userId, List<FUnit> list) {
        this.modelId = modelId;
        this.satus = satus;
        this.name = name;
        this.fmCategory = fmCategory;
        this.imgurl = imgurl;
        this.fmsgId = fmsgId;
        this.description = description;
        this.userId = userId;
        this.list = list;
    }


}
